Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional force_fetch field for all dependency types #1242

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

simu
Copy link
Contributor

@simu simu commented Sep 25, 2024

Proposed Changes

Move the optional force_fetch field to the KapitanDependencyBaseConfig type.

We access the force_fetch field without regard to the dependency type in

force_fetch = entry.force_fetch

Docs and Tests

  • Tests added
  • Updated documentation

@simu simu changed the title Add missing force_fetch fields for Git and HTTP(S) dependencies Add optional force_fetch fields for all dependency types Sep 25, 2024
@simu simu changed the title Add optional force_fetch fields for all dependency types Add optional force_fetch field for all dependency types Sep 25, 2024
@simu simu marked this pull request as ready for review September 25, 2024 08:19
@ademariag ademariag self-requested a review September 25, 2024 11:42
@ademariag ademariag enabled auto-merge (squash) September 25, 2024 11:42
In `kapitan/targets.py` we access the `force_fetch` field regardless of
dependency type if force fetching wasn't requested globally.
auto-merge was automatically disabled September 25, 2024 11:43

Head branch was pushed to by a user without write access

@ademariag ademariag enabled auto-merge (squash) September 25, 2024 11:50
@ademariag ademariag merged commit 70a9969 into kapicorp:master Sep 25, 2024
7 checks passed
@simu simu deleted the fix/dependency-models branch September 25, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants